<?php
function entity_import_email(Infinity\Entity &$entity, $field, array $value, array $field_data) {
  $entity->fieldManager()->setValue($field, 'email', $value[0]);
}